<template>
<!--
人事调动
-->
<div>
<h1>人事调动</h1>
  <el-form :inline="true" :model="formInline" class="demo-form-inline">
    <el-form-item label="姓名">
      <el-input v-model="formInline.user" placeholder="姓名"></el-input>
    </el-form-item>
    <el-form-item label="所在项目组">
      <el-select v-model="formInline.region" placeholder="请选择">
        <el-option label="前端组" value="前端组"></el-option>
        <el-option label="后端组" value="后端组"></el-option>
        <el-option label="运维组" value="运维组"></el-option>
      </el-select>
    </el-form-item>
    <el-form-item label="状态">
      <el-select v-model="formInline.myStatic" placeholder="请选择">
        <el-option label="未转正" value="未转正"></el-option>
        <el-option label="已转正" value="已转正"></el-option>
      </el-select>
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="onSubmit">查询</el-button>
    </el-form-item>
  </el-form>
  <el-table :data="message">
    <el-table-column prop="Id" label="员工id" width="120"></el-table-column>
    <el-table-column prop="name" label="姓名" width="120"></el-table-column>
    <el-table-column prop="date" label="调动日期" width="120"></el-table-column>
    <el-table-column prop="status" label="状态" width="120"></el-table-column>
    <el-table-column  label="操作" width="120"><el-button>操作</el-button></el-table-column>
  </el-table>
</div>
</template>

<script>
export default {
  name: "PersonnelTransfer",
  data() {
    return {
      message:[],
      formInline: {
        user: '',
        region: '',
        myStatic:''
      }
    }
  },
  methods: {
    onSubmit() {
      console.log('submit!');
    }
  }
}
</script>

<style scoped>

</style>
